package cn.gok.oa.attendance.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
* <p>
    * 
    * </p>
*
* @author gok
* @since 2022-08-04
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    public class TbApply implements Serializable {

    private static final long serialVersionUID = 1L;

            /**
            * 部门id
            */
            @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

            /**
            * 员工id
            */
    private Integer userId;

            /**
            * 考勤id
            */
    private Integer attendanceId;

            /**
            * 审批人id
            */
    private Integer approverId;

            /**
            * 审批状态
            */
    private Integer applyStatus;

            /**
            * 申请时间
            */
        @TableField("TIME")
    private LocalDateTime time;

            /**
            * 状态
            */
        @TableLogic
        @TableField("STATUS")
    private Integer status;

            /**
            * 备注
            */
    private String remark;


}
